/**
 * @filename:PurReturn Jan 23, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(采购退料实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_return")
@ApiModel(value="t_pur_return对象", description="采购退料表")
public class PurReturn extends Model<PurReturn> {

	private static final long serialVersionUID = 1737617464214935L;

	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;

    @TableField(value = "BillNo")
	@ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;

    @TableField(value = "OrgNo")
	@ApiModelProperty(name = "OrgNo" , value = "组织编码")
    private String OrgNo;

    @TableField(value = "OrgName")
	@ApiModelProperty(name = "OrgName" , value = "组织名称")
    private String OrgName;

    @TableField(value = "SupplierNo")
	@ApiModelProperty(name = "SupplierNo" , value = "供应商编码")
    private String SupplierNo;

    @TableField(value = "SupplierName")
	@ApiModelProperty(name = "SupplierName" , value = "供应商名称")
    private String SupplierName;

    @TableField(value = "auditUserName")
    @ApiModelProperty(name = "auditUserName" , value = "审核人")
    private String auditUserName;

    @TableField(value = "ReturnDate")
	@ApiModelProperty(name = "ReturnDate" , value = "退料日期")
    private Date ReturnDate;

    @TableField(value = "auditTime")
    @ApiModelProperty(name = "auditTime" , value = "审核时间")
    private Date auditTime;

    @TableField(value = "ReturnMethod")
	@ApiModelProperty(name = "ReturnMethod" , value = "退料方式A退料补料B退料并扣款")
    private String ReturnMethod;

    @TableField(value = "Status")
    @ApiModelProperty(name = "Status" , value = "审核状态")
    private String Status;

    @TableField(value = "purBillNo")
    @ApiModelProperty(name = "purBillNo" , value = "采购订单号")
    private String purBillNo;

    @TableField(value = "WeightNo")
    @ApiModelProperty(name = "WeightNo" , value = "称重申请单单据编号")
    private String WeightNo;



	@Override
    public Serializable pkVal() {
        return this.Id;
    }

}
